<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>智教慧学全景云平台 - 身份选择</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css">
    <style>
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            transition: all 0.3s ease;
        }
        body {
            font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #f8f9fa 0%, #f0f2ff 100%);
            color: #333;
            line-height: 1.7;
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }
        .identity-container {
            background: #fff;
            padding: 50px 30px;
            border-radius: 15px;
            box-shadow: 0 10px 40px rgba(67, 97, 238, 0.1);
            max-width: 600px;
            width: 100%;
            text-align: center;
        }
        .identity-title {
            font-size: 2.2em;
            color: #2d3748;
            margin-bottom: 50px;
            position: relative;
            padding-bottom: 15px;
        }
        .identity-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background: linear-gradient(90deg, #4361ee, #b5179e);
            border-radius: 2px;
        }
        .identity-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 30px;
            margin-bottom: 40px;
        }
        .identity-card {
            background: #fff;
            border-radius: 12px;
            padding: 30px 20px;
            border: 2px solid #e2e8f0;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        .identity-card:hover {
            border-color: #4361ee;
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(67, 97, 238, 0.15);
        }
        .identity-icon {
            font-size: 3.5em;
            margin-bottom: 20px;
            background: linear-gradient(90deg, #4361ee, #b5179e);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
        .identity-name {
            font-size: 1.3em;
            font-weight: 600;
            color: #2d3748;
        }
        .back-btn {
            display: inline-block;
            padding: 10px 24px;
            font-size: 1em;
            color: #4361ee;
            border: 1px solid #4361ee;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 500;
            margin-top: 10px;
        }
        .back-btn:hover {
            background-color: #4361ee;
            color: #fff;
        }
        @media (max-width: 480px) {
            .identity-title {
                font-size: 1.8em;
            }
            .identity-cards {
                grid-template-columns: 1fr;
            }
            .identity-card {
                padding: 25px 15px;
            }
            .identity-icon {
                font-size: 3em;
            }
        }
    </style>
</head>
<body>
    <div class="identity-container">
        <h2 class="identity-title">请选择您的身份</h2>
        <div class="identity-cards">
            <!-- 教师身份卡片 -->
            <div class="identity-card" onclick="window.location.href='teacher.html'">
                <i class="fa fa-chalkboard-teacher identity-icon"></i>
                <div class="identity-name">教师</div>
            </div>
            <!-- 学生身份卡片 -->
            <div class="identity-card" onclick="window.location.href='student.html'">
                <i class="fa fa-user-graduate identity-icon"></i>
                <div class="identity-name">学生</div>
            </div>
            <!-- 游客身份卡片 -->
            <div class="identity-card" onclick="window.location.href='visitor-home.html'">
                <i class="fa fa-user identity-icon"></i>
                <div class="identity-name">游客</div>
            </div>
        </div>
        <a href="shouye.html" class="back-btn"><i class="fa fa-arrow-left"></i> 返回首页</a>
    </div>
</body>
</html>